bytesOrNull

Like bytes but returns null for a URL-backed file instead of throwing.